#!/usr/bin/env python

"""
These signals are used in more than one instance
"""

from blend.gui import multimxDialog

class signals:

   def __init__(self,blend):
      self.blend = blend;
      
   def on_quit(self,*params):
      self.blend.quit();
      
   def on_new_multimx(self,widget):
      d = multimxDialog.multimxDialog(self.blend);
      d.run();

   def on_close(self,widget):
      widget.destroy();